package cn.ithers.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class LooperDTO implements Serializable {


    @NotNull
    @ApiModelProperty(value = "轮播图标题", required = true)
    private String title;

    @NotNull
    @ApiModelProperty(value = "目标url", required = true)
    private String targetUrl;

    @NotNull
    @ApiModelProperty(value = "图片地址", required = true)
    private String imageUrl;

    @ApiModelProperty(value = "顺序")
    private long order = 1;

    @ApiModelProperty(value = "状态(0表示不可用，1表示正常)")
    private String state = "1";


}
